systems of equations in three variables